home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / programs_-_include / LINUX / PTRACE.H < prev    next >
C/C++ Source or Header  |  1999-09-17  |  593b  |  27 lines

  1. #ifndef _LINUX_PTRACE_H
  2. #define _LINUX_PTRACE_H
  3. /* ptrace.h */
  4. /* structs and defines to help the user use the ptrace system call. */
  5.  
  6. /* has the defines to get at the registers. */
  7.  
  8. #define PTRACE_TRACEME           0
  9. #define PTRACE_PEEKTEXT           1
  10. #define PTRACE_PEEKDATA           2
  11. #define PTRACE_PEEKUSR           3
  12. #define PTRACE_POKETEXT           4
  13. #define PTRACE_POKEDATA           5
  14. #define PTRACE_POKEUSR           6
  15. #define PTRACE_CONT           7
  16. #define PTRACE_KILL           8
  17. #define PTRACE_SINGLESTEP       9
  18.  
  19. #define PTRACE_ATTACH        0x10
  20. #define PTRACE_DETACH        0x11
  21.  
  22. #define PTRACE_SYSCALL          24
  23.  
  24. #include <asm/ptrace.h>
  25.  
  26. #endif
  27.